 <form name="refinevenue" action="<?php echo _SITE_URL; ?>venues/" method="post">
  <div class="cl"></div>
    
<div class="RefineS" id="sw" style="display:none;">
     <div><img src="<?=_SITE_URL?>images/refinesearchline.jpg" alt="" /></div>
     <div class="middle">
        <div class="hideshow"><a href="#" onclick="hideshow('sw','hd');">- hide</a></div>
     		<div class="head">
            	<h3>Refine Your Search :</h3>
               <!-- <div class="fl refineby">
                	<label>By Price:</label>
                    <div class="fl slider"><span>Between 300 to 700</span><br />
							<img src="<?=_SITE_URL?>images/slider1.jpg" alt="" />
                    </div>
                    <div class="cl"></div>
                </div>
                
                <div class="fl refineby">
                	<label>By Capacity:</label>
                    <div class="fl slider"><span>Between 300 to 700</span><br />
							<img src="<?=_SITE_URL?>images/slider2.jpg" alt="" />
                    </div>
                    <div class="cl"></div>
                </div>-->
            
         
            <div class="cl"></div>
          
            
            </div> 
             
             <div class="bycategory">
             	<div class="box">
                	<label>Country :</label>
                    <select class="dropdown" name="country" id="country" onchange="get_city(this.value);">
                <option value="">-----Select-----</option>
                <?=displayCombo($country_arr,$_REQUEST['country']);?>
              </select>
                    <div class="cl"></div>
                    </div>
                    
                    <div class="box">
                	<label>City :</label>
                   <span id="citycombo">
                  <select class="dropdown" name="city" id="city">
                    <option value="">-----Select-----</option>
                    <? if($_REQUEST['country']) echo displayCombo($city_arr,$_REQUEST['city']);?>
                  </select>
                  </span>
                    <div class="cl"></div>
                    </div>
          
          
          	   <div class="box">
                	<label>By Category :</label>
                   <select class="dropdown" name="wcategory" id="wcategory">
                    <option value="">-----Select-----</option>
                     <?=displayCombo($wcategory_arr,$_REQUEST['wcategory']);?>
                    </select>
                    <div class="cl"></div>
                    </div>
                    
                    <div class="box">

						<a href="javascript:void(0);" class="searchnow" onclick="refinevenue.submit();">Search Now</a>

                    </div>
             	</div> 
             
             
              </div>
   
   
   
     <div class="mrgT20"><img src="<?=_SITE_URL?>images/refinesearchline.jpg" alt="" /></div>
  	
    </div>
 
 <div class="RefineS" id="hd">
     <div><img src="<?=_SITE_URL?>images/refinesearchline.jpg" alt="" /></div>
     <div class="middle pad5">
        <div class="hideshow"><a href="#" onclick="hideshow('hd','sw');">+ Show</a></div>
     		<div class="head">
            	<h3>Refine Your Search :</h3>
            <div class="cl"></div>
            </div> 
     </div>
     <div><img src="<?=_SITE_URL?>images/refinesearchline.jpg" alt="" /></div>
     </div>   
        <!-- Start Paging Search -->  
    <div class="paging">
    		<div class="fl left">
            	<h3>About <span><?=$rowCount?> results</span> found your match</h3>
                <div class="fr">
                	<label>Sort by :</label>
                    <select class="dropdown premium" name="sort_venue" id="sort_venue" onchange="refinevenue.submit();">
                     <option value="">Sort Listing</option>
                    <!--<option value="price">Price Low to High</option>
                    <option value="price desc">Price Higg to Low</option>-->
                    <option value="max_capacity">Capacity Low to High</option>
                    <option value="max_capacity desc">Capacity High to Low</option>
                     <script>document.getElementById('sort_venue').value='<?=$_REQUEST["sort_venue"]?>';</script>
                    </select>
                    <div class="cl"></div>
              </div>
                <div class="cl"></div>
                
        </div>
            
            <div class="fr pagination">
             <label class="mrgR10">Showing Records: <strong><?php $page = ($_REQUEST['page'])?$_REQUEST['page']:1; echo ($record_prepage*$page-$record_prepage)+1?> to <?=$tot=($record_prepage*$page < $rowCount)?$record_prepage*$page : $rowCount?></strong> of <?=$rowCount?></label>
            <label>Records :</label>
            <select class="dropdown page" name="record_perpage" id="record_perpage" onchange="refinevenue.submit();">
            <option value="3"> 3 </option>
            <option value="9"> 9 </option>
            <option value="12"> 12 </option>
            <option value="15"> 15 </option>
            <script>document.getElementById('record_perpage').value='<?=$_REQUEST["record_perpage"]?>';</script>
            </select>
            	
        </div>
               <div class="cl"></div>
      </div>
    <!-- End Paging Search -->
</form>    